<?php /* Smarty version Smarty-3.1.8, created on 2016-06-24 15:37:04
         compiled from "admin:pm/progress/addprogress.html" */ ?>
<?php /*%%SmartyHeaderCode:26636576ce320790382-97212389%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '31fccc8cdff19060f1cd64d29b68200cdc1edc17' => 
    array (
      0 => 'admin:pm/progress/addprogress.html',
      1 => 1446711641,
      2 => 'admin',
    ),
  ),
  'nocache_hash' => '26636576ce320790382-97212389',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'site_id' => 0,
    'detail' => 0,
    'pm_pro' => 0,
    'key' => 0,
    'pm' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_576ce3207c6e92_24873361',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_576ce3207c6e92_24873361')) {function content_576ce3207c6e92_24873361($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("admin:common/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<div class="page-title">
    <table width="100%" align="center" cellpadding="0" cellspacing="0">
      <tbody><tr>
        <td width="30" align="right"><img src="http://hf.v6.jhcms.cn/admin/images/main-h5-ico.gif" alt=""></td>
        <th>添加项目进度</th>
        <td align="right"><a class="button" onclick="history.go(-1)">返回</a></td>
        <td width="15"></td>
      </tr>
    </tbody></table>
</div>
<div class="page-data">
<form action="?pm/index-addprogress-<?php echo $_smarty_tpl->tpl_vars['site_id']->value;?>
.html" mini-form="designer-form" method="post" enctype="multipart/form-data">
<input type="hidden" name="account[from]" value="designer">
<table width="100%" border="0" cellspacing="0" class="table-data form">
    <tbody>
    <tr>
        <th><span class="red">*</span>所属项目：</th>
        <td>
            <input type="hidden" name="data[site_id]" value="<?php echo $_smarty_tpl->tpl_vars['site_id']->value;?>
" class="input w-400" id="pm_comapny_id">
            <input type="text"   value="<?php echo $_smarty_tpl->tpl_vars['detail']->value['title'];?>
" class="input w-400" id="pm_company_name" readonly="true" />
        </td>
    </tr>
    <tr>
        <th><span class="red">*</span>公司名称：</th>
        <td>
            <input type="hidden" name="data[company_id]" value="<?php echo $_smarty_tpl->tpl_vars['detail']->value['company_id'];?>
" class="input w-400" id="pm_comapny_id">
            <input type="text" value="<?php echo $_smarty_tpl->tpl_vars['detail']->value['company'];?>
" class="input w-400" readonly="true" />
        </td>
    </tr>
    <tr>
        <th><span class="red">*</span>进度描述：</th>
        <td>
            <textarea name='data[content]'></textarea>
        </td>
    </tr>
     <tr>
        <th><span class="red">*</span>施工阶段：</th>
        <td>
            <select name="data[step]">
                <?php  $_smarty_tpl->tpl_vars['pm'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pm']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['pm_pro']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['pm']->key => $_smarty_tpl->tpl_vars['pm']->value){
$_smarty_tpl->tpl_vars['pm']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['pm']->key;
?>
                    <option value='<?php echo $_smarty_tpl->tpl_vars['key']->value;?>
'><?php echo $_smarty_tpl->tpl_vars['pm']->value;?>
</option>
                <?php } ?>
            </select>
        </td>
    </tr>
    <tr>
        <th><span class="red">*</span>添加附件：</th>
        <td>
            <input type="file" name='attach' class="input w-400" />
        </td>
    </tr>
    <tr>
        <th><span class="red">*</span>发布时间：</th>
        <td>
            <input type="text" value="<?php echo date('Y年m月d日 H:i:s',time());?>
" class="input w-400" readonly="true" />
        </td>
    </tr>
    <tr><th></th>
        <td><input type="submit" class="bt-big" value="提交数据"></td>
    </tr>
   
</tbody></table>
</form>
</div>
<?php echo $_smarty_tpl->getSubTemplate ("admin:common/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }} ?>